<div class="modal-header">
    <h3>{{config.title}}</h3>
</div>
<form ng-submit="submit()">
    <div class="modal-body">
        {{config.message}}
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" type="submit">OK</button>
        <button class="btn btn-link" type="button" ng-click="cancel()">Cancel</button>
    </div>
</form>